//
//  DesitionModel1.m
//  Travel
//
//  Created by 吴品泽 on 15/4/8.
//  Copyright (c) 2015年 &#21556;&#21697;&#27901;. All rights reserved.
//

#import "DesitionModel1.h"

@implementation DesitionModel1

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

-(void)getDesitionModel2
{
    NSMutableArray *array = [NSMutableArray array];
    for (NSMutableDictionary *dic in self.destinations) {
        DesitionModel2 *model2 = [[DesitionModel2 alloc]init];
        [model2 setValuesForKeysWithDictionary:dic];
        [array addObject:model2];
    }
    
    self.destinations = [NSMutableArray arrayWithArray:array];
}
@end
